/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ticketManager.model;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.OneToOne;
import javax.persistence.PrimaryKeyJoinColumn;

/**
 *
 * @author luchenyuxx
 */
@Entity
@PrimaryKeyJoinColumn(name = "HISTORYEVENT_ID")
public class TwoRolesEvent extends HistoryEvent{
    @OneToOne
    private ManagerUser operator;
    @OneToOne
    private Problem target;

    public ManagerUser getOperator() {
        return operator;
    }

    public void setOperator(ManagerUser operator) {
        this.operator = operator;
    }

    public Problem getTarget() {
        return target;
    }

    public void setTarget(Problem target) {
        this.target = target;
    }
    
}
